﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using System.Data.SqlClient;

namespace MWTWorkUnitMgmtTool.DataAccess.TableGatewayRepository
{
    public interface ITableGatewayRepository
    {
        IEnumerable<IDataRecord> Retrieve(string sql, string connectionString, Action<SqlParameterCollection> addParameters);
        int Commit(string sql, string connectionString, Action<SqlParameterCollection> addParameters); 
    }
}
